package org.wevil.params.add;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**菜单添加参数*/
@Getter
@Setter
@ToString
public class MenuAP {
    /**父id*/
    Integer pid;
    /**菜单名称*/
    @NotBlank(message = "菜单名称不能为空")
    String name;
    /**菜单路径*/
    String url;
    /**菜单排序*/
    Integer sort;
    /**菜单图标*/
    String icon;
}
